﻿using Axis.BusinessObject.Core;
using Axis.Dao.Layout;
using Axis.Web.Administrator.Global;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Script.Serialization;

namespace Axis.Web.Administrator.Views.Slider
{
    public class SliderUI
    {
        public string UpdateSlider(string inputValue)
        {
            inputValue = new CCore().InputValueExtend(inputValue);
            CLayoutDao cLayoutDao = new CLayoutDao();
            CApplicationMessage message = cLayoutDao.ActionSlideBarItem(inputValue);
            return new JavaScriptSerializer().Serialize(message);
        }
    }
}